package com.woniuxy01;

import java.util.Objects;

/**
 * @author 作者
 * @create 2025-07-31 10:57
 */
public class Aaa {
    public int x;

    public Aaa() {
    }

    public Aaa(int x) {
        this.x = x;
    }

    @Override
    public boolean equals(Object o) {
        if (o == null || getClass() != o.getClass()) return false;
        Aaa aaa = (Aaa) o;
        return x == aaa.x;
    }

    @Override
    public int hashCode() {
//        return Objects.hashCode(x);
        return 5;
    }
}
